package com.qf.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * 初始化构建连接es服务器
 */
@Configuration
public class ElasticsearchConfig {
    @Value("${elasticsearch.host}")
    private List<String> hosts;
    @Value("${$elasticsearch.port}")
    private List<Integer> ports;

}
